package org.example.user.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;


@Data
@Component
@ConfigurationProperties(prefix = "jwt.auth.paths")
public class JwtProperties {
    // 拦截的配置
    private List<String> includePaths;
    // 放行的配置
    private List<String> excludePaths;

    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}
